package com.ls.lserp.modules.purchase.entity;


import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.ls.lserp.common.persistence.DataEntity;
import com.ls.lserp.modules.material.entity.InventoryRequest;
import com.ls.lserp.modules.setting.entity.Ognization;

public class PurchaseRequest extends DataEntity<PurchaseRequest> {
	// 入库申请单号
	private String inventoryRequestNo;
	// 合同订单号
	private String customerContractNo;
	// 采购合同编号
	private String contractMeterialNo;
	// 供货商id
	private Long venderId;
	// 供应商名称
    private String venderName;
	// 日期FROM
	private String dateFrom;
	// 日期TO
	private String dateTo;
	// 入库类别
	private String inventoryCategory;
    // 申请入库数量
	private BigDecimal requestQuantity;
	// 已入库数量
	private BigDecimal realQuantity;
	// 未入库数量
	private BigDecimal residueQuantity;
	// 申请人名
	private String requestUser;
	// 申请日期
	private Date requestDate;
	// tab页状态
	private int tabPageStatus;
	// 库存状态
	private String inventoryStatus;
	// 入出库区分
	private String inventoryInOutKbn;
	// 未完了状态
	private String requestDoneStatus;
	// 二维码
	private String stockBarCode;
	// 下拉菜单客户
	private List<Ognization> venderList;
	// 入库申请单明细
	private List<PurchaseRequest> requestDetailsList;
	// 下标
	private int trIndex;
	// 入库申请明细状态
	private String stockinStatus;
	// 物料id
	private Long materialId;
	// 物料图片
	private String filePath;
	// 名称
	private String materialNameCn;
	// 编码
	private String materialCode;
	// 幅宽
	private String materialSpec;
	// 成分
	private String materialComposition;
	// 颜色
	private String materialColor;
	// 物料类别
	private String materialCategory;
	// 采购价
	private BigDecimal purchaseUnitPrice;
	// 采购数量
	private BigDecimal purchaseReserveQuantity;
	// 采购合同id
	private Long contractMeterialId;
	// 合同id
	private Long contractId;
	// 合同订单id
	private Long indentId;
	// 系统款号id
	private Long styleId;
	// 采购合同状态
	private String contractStatus;
	// 画面区分
	private String purchaseFlag;
	
	/**
	 * @return the purchaseFlag
	 */
	public String getPurchaseFlag() {
		return purchaseFlag;
	}
	/**
	 * @param purchaseFlag the purchaseFlag to set
	 */
	public void setPurchaseFlag(String purchaseFlag) {
		this.purchaseFlag = purchaseFlag;
	}
	/**
	 * @return the inventoryRequestNo
	 */
	public String getInventoryRequestNo() {
		return inventoryRequestNo;
	}
	/**
	 * @param inventoryRequestNo the inventoryRequestNo to set
	 */
	public void setInventoryRequestNo(String inventoryRequestNo) {
		this.inventoryRequestNo = inventoryRequestNo;
	}
	/**
	 * @return the customerContractNo
	 */
	public String getCustomerContractNo() {
		return customerContractNo;
	}
	/**
	 * @param customerContractNo the customerContractNo to set
	 */
	public void setCustomerContractNo(String customerContractNo) {
		this.customerContractNo = customerContractNo;
	}
	/**
	 * @return the contractMeterialNo
	 */
	public String getContractMeterialNo() {
		return contractMeterialNo;
	}
	/**
	 * @param contractMeterialNo the contractMeterialNo to set
	 */
	public void setContractMeterialNo(String contractMeterialNo) {
		this.contractMeterialNo = contractMeterialNo;
	}
	/**
	 * @return the venderId
	 */
	public Long getVenderId() {
		return venderId;
	}
	/**
	 * @param venderId the venderId to set
	 */
	public void setVenderId(Long venderId) {
		this.venderId = venderId;
	}
	/**
	 * @return the venderName
	 */
	public String getVenderName() {
		return venderName;
	}
	/**
	 * @param venderName the venderName to set
	 */
	public void setVenderName(String venderName) {
		this.venderName = venderName;
	}
	/**
	 * @return the dateFrom
	 */
	public String getDateFrom() {
		return dateFrom;
	}
	/**
	 * @param dateFrom the dateFrom to set
	 */
	public void setDateFrom(String dateFrom) {
		this.dateFrom = dateFrom;
	}
	/**
	 * @return the dateTo
	 */
	public String getDateTo() {
		return dateTo;
	}
	/**
	 * @param dateTo the dateTo to set
	 */
	public void setDateTo(String dateTo) {
		this.dateTo = dateTo;
	}
	/**
	 * @return the inventoryCategory
	 */
	public String getInventoryCategory() {
		return inventoryCategory;
	}
	/**
	 * @param inventoryCategory the inventoryCategory to set
	 */
	public void setInventoryCategory(String inventoryCategory) {
		this.inventoryCategory = inventoryCategory;
	}
	/**
	 * @return the requestQuantity
	 */
	public BigDecimal getRequestQuantity() {
		return requestQuantity;
	}
	/**
	 * @param requestQuantity the requestQuantity to set
	 */
	public void setRequestQuantity(BigDecimal requestQuantity) {
		this.requestQuantity = requestQuantity;
	}
	/**
	 * @return the realQuantity
	 */
	public BigDecimal getRealQuantity() {
		return realQuantity;
	}
	/**
	 * @param realQuantity the realQuantity to set
	 */
	public void setRealQuantity(BigDecimal realQuantity) {
		this.realQuantity = realQuantity;
	}
	/**
	 * @return the residueQuantity
	 */
	public BigDecimal getResidueQuantity() {
		return residueQuantity;
	}
	/**
	 * @param residueQuantity the residueQuantity to set
	 */
	public void setResidueQuantity(BigDecimal residueQuantity) {
		this.residueQuantity = residueQuantity;
	}
	/**
	 * @return the requestUser
	 */
	public String getRequestUser() {
		return requestUser;
	}
	/**
	 * @param requestUser the requestUser to set
	 */
	public void setRequestUser(String requestUser) {
		this.requestUser = requestUser;
	}
	/**
	 * @return the requestDate
	 */
	public Date getRequestDate() {
		return requestDate;
	}
	/**
	 * @param requestDate the requestDate to set
	 */
	public void setRequestDate(Date requestDate) {
		this.requestDate = requestDate;
	}
	/**
	 * @return the tabPageStatus
	 */
	public int getTabPageStatus() {
		return tabPageStatus;
	}
	/**
	 * @param tabPageStatus the tabPageStatus to set
	 */
	public void setTabPageStatus(int tabPageStatus) {
		this.tabPageStatus = tabPageStatus;
	}
	/**
	 * @return the inventoryStatus
	 */
	public String getInventoryStatus() {
		return inventoryStatus;
	}
	/**
	 * @param inventoryStatus the inventoryStatus to set
	 */
	public void setInventoryStatus(String inventoryStatus) {
		this.inventoryStatus = inventoryStatus;
	}
	/**
	 * @return the inventoryInOutKbn
	 */
	public String getInventoryInOutKbn() {
		return inventoryInOutKbn;
	}
	/**
	 * @param inventoryInOutKbn the inventoryInOutKbn to set
	 */
	public void setInventoryInOutKbn(String inventoryInOutKbn) {
		this.inventoryInOutKbn = inventoryInOutKbn;
	}
	/**
	 * @return the requestDoneStatus
	 */
	public String getRequestDoneStatus() {
		return requestDoneStatus;
	}
	/**
	 * @param requestDoneStatus the requestDoneStatus to set
	 */
	public void setRequestDoneStatus(String requestDoneStatus) {
		this.requestDoneStatus = requestDoneStatus;
	}
	/**
	 * @return the stockBarCode
	 */
	public String getStockBarCode() {
		return stockBarCode;
	}
	/**
	 * @param stockBarCode the stockBarCode to set
	 */
	public void setStockBarCode(String stockBarCode) {
		this.stockBarCode = stockBarCode;
	}
	/**
	 * @return the venderList
	 */
	public List<Ognization> getVenderList() {
		return venderList;
	}
	/**
	 * @param venderList the venderList to set
	 */
	public void setVenderList(List<Ognization> venderList) {
		this.venderList = venderList;
	}
	/**
	 * @return the requestDetailsList
	 */
	public List<PurchaseRequest> getRequestDetailsList() {
		return requestDetailsList;
	}
	/**
	 * @param requestDetailsList the requestDetailsList to set
	 */
	public void setRequestDetailsList(List<PurchaseRequest> requestDetailsList) {
		this.requestDetailsList = requestDetailsList;
	}
	/**
	 * @return the trIndex
	 */
	public int getTrIndex() {
		return trIndex;
	}
	/**
	 * @param trIndex the trIndex to set
	 */
	public void setTrIndex(int trIndex) {
		this.trIndex = trIndex;
	}
	/**
	 * @return the stockinStatus
	 */
	public String getStockinStatus() {
		return stockinStatus;
	}
	/**
	 * @param stockinStatus the stockinStatus to set
	 */
	public void setStockinStatus(String stockinStatus) {
		this.stockinStatus = stockinStatus;
	}
	/**
	 * @return the materialId
	 */
	public Long getMaterialId() {
		return materialId;
	}
	/**
	 * @param materialId the materialId to set
	 */
	public void setMaterialId(Long materialId) {
		this.materialId = materialId;
	}
	/**
	 * @return the filePath
	 */
	public String getFilePath() {
		return filePath;
	}
	/**
	 * @param filePath the filePath to set
	 */
	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}
	/**
	 * @return the materialNameCn
	 */
	public String getMaterialNameCn() {
		return materialNameCn;
	}
	/**
	 * @param materialNameCn the materialNameCn to set
	 */
	public void setMaterialNameCn(String materialNameCn) {
		this.materialNameCn = materialNameCn;
	}
	/**
	 * @return the materialCode
	 */
	public String getMaterialCode() {
		return materialCode;
	}
	/**
	 * @param materialCode the materialCode to set
	 */
	public void setMaterialCode(String materialCode) {
		this.materialCode = materialCode;
	}
	/**
	 * @return the materialSpec
	 */
	public String getMaterialSpec() {
		return materialSpec;
	}
	/**
	 * @param materialSpec the materialSpec to set
	 */
	public void setMaterialSpec(String materialSpec) {
		this.materialSpec = materialSpec;
	}
	/**
	 * @return the materialComposition
	 */
	public String getMaterialComposition() {
		return materialComposition;
	}
	/**
	 * @param materialComposition the materialComposition to set
	 */
	public void setMaterialComposition(String materialComposition) {
		this.materialComposition = materialComposition;
	}
	/**
	 * @return the materialColor
	 */
	public String getMaterialColor() {
		return materialColor;
	}
	/**
	 * @param materialColor the materialColor to set
	 */
	public void setMaterialColor(String materialColor) {
		this.materialColor = materialColor;
	}
	/**
	 * @return the materialCategory
	 */
	public String getMaterialCategory() {
		return materialCategory;
	}
	/**
	 * @param materialCategory the materialCategory to set
	 */
	public void setMaterialCategory(String materialCategory) {
		this.materialCategory = materialCategory;
	}
	/**
	 * @return the purchaseUnitPrice
	 */
	public BigDecimal getPurchaseUnitPrice() {
		return purchaseUnitPrice;
	}
	/**
	 * @param purchaseUnitPrice the purchaseUnitPrice to set
	 */
	public void setPurchaseUnitPrice(BigDecimal purchaseUnitPrice) {
		this.purchaseUnitPrice = purchaseUnitPrice;
	}
	/**
	 * @return the purchaseReserveQuantity
	 */
	public BigDecimal getPurchaseReserveQuantity() {
		return purchaseReserveQuantity;
	}
	/**
	 * @param purchaseReserveQuantity the purchaseReserveQuantity to set
	 */
	public void setPurchaseReserveQuantity(BigDecimal purchaseReserveQuantity) {
		this.purchaseReserveQuantity = purchaseReserveQuantity;
	}
	/**
	 * @return the contractMeterialId
	 */
	public Long getContractMeterialId() {
		return contractMeterialId;
	}
	/**
	 * @param contractMeterialId the contractMeterialId to set
	 */
	public void setContractMeterialId(Long contractMeterialId) {
		this.contractMeterialId = contractMeterialId;
	}
	/**
	 * @return the contractId
	 */
	public Long getContractId() {
		return contractId;
	}
	/**
	 * @param contractId the contractId to set
	 */
	public void setContractId(Long contractId) {
		this.contractId = contractId;
	}
	/**
	 * @return the indentId
	 */
	public Long getIndentId() {
		return indentId;
	}
	/**
	 * @param indentId the indentId to set
	 */
	public void setIndentId(Long indentId) {
		this.indentId = indentId;
	}
	/**
	 * @return the styleId
	 */
	public Long getStyleId() {
		return styleId;
	}
	/**
	 * @param styleId the styleId to set
	 */
	public void setStyleId(Long styleId) {
		this.styleId = styleId;
	}
	/**
	 * @return the contractStatus
	 */
	public String getContractStatus() {
		return contractStatus;
	}
	/**
	 * @param contractStatus the contractStatus to set
	 */
	public void setContractStatus(String contractStatus) {
		this.contractStatus = contractStatus;
	}
}